import request from '@/utils/request'

//    //查寻全部
export function userQueryAll() {
  return request({
    url: '/user/queryall',
    method: 'get'
  })
}

//分页查询
export function userPageQuery(searchModel) {
  return request({
    url: '/user/pagequery',
    method: 'get',
    params: {
      pageNo: searchModel.pageNo,
      pageSize: searchModel.pageSize,
      username: searchModel.username,
      phone: searchModel.phone,
      sex: searchModel.sex
    }
  })
}